package com.shycloud.mido.member.api.vo;

import lombok.Data;

/**
 * 心跳接口返回实体
 *
 * @author Xiaoxing Yu
 * @date 2020/12/4 下午2:13
 **/
@Data
public class HeartBeatReturnVO {

	private Integer beatIdx;

	private Boolean beatResult;

	private String teacherId;

	private String studentId;

	private String errorMsg;

	public HeartBeatReturnVO (Integer beatIdx, Boolean beatResult, String teacherId, String studentId) {
		this.beatIdx = beatIdx;
		this.beatResult = beatResult;
		this.teacherId = teacherId;
		this.studentId = studentId;
		this.errorMsg = null;
	}

	public HeartBeatReturnVO (Integer beatIdx, Boolean beatResult, String teacherId, String studentId, String errorMsg) {
		this.beatIdx = beatIdx;
		this.beatResult = beatResult;
		this.teacherId = teacherId;
		this.studentId = studentId;
		this.errorMsg = errorMsg;
	}

}
